// 批量安装组ARM组件
export const installComponent = app => {
	const modules = import.meta.globEager('./modules/smart-*/index.vue')
	const keys = Object.keys(modules)

	keys.forEach(k => {
		// @ts-ignore
		const data = modules[k].default
		app.component(data.name, data)
	})
}
